#include("/WEB-INF/htmls/common/layout/_page_layout.html")
#@layout()


#define css()
#end


#define js()

<script>
    //Demo

    layui.use(['form', 'element', 'layer'], function () {
        var form = layui.form;
        var element = layui.element;
        var layer = layui.layer;
        var $ = layui.jquery;

        //监听提交
        form.on('submit(formSubmit)', function (data) {
            layer.msg(JSON.stringify(data.field));
            return true;
        });
    });

</script>
#end


#define content()
<form class="layui-form" action="" id="uploadForm" enctype="multipart/form-data">
    <input type="hidden" name="id" id="id" value="#(id)">
    <input type="hidden" name="channelId" id="channelId" value="#(channelId)">
    <input type="hidden" name="merchantId" id="merchantId" value="#(merchantId)">
    <!--    ----------------填写基本信息start------ -->
    <div class="layui-card step-card" id="step_card_1">
        <div class="layui-card-header">兴易付</div>

        <div class="layui-card-body">
            <!--merchant_id
                xyf_merchant_no
                sign_type
                private_key
                public_key
                md5_key-->
            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>商户号</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="cusid" id="cusid" maxlength="30" placeholder="请填写收银宝商户号"
                           class="layui-input" lay-verify="required"
                           value="#(channelConfig!=null?channelConfig.cusid:null)" required
                           autocomplete="off"/>
                </div>

            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>appid</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="appid" id="appid" maxlength="30" placeholder="请填写收银宝appid"
                           class="layui-input" lay-verify="required"
                           value="#(channelConfig!=null?channelConfig.appid:null)" required
                           autocomplete="off"/>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>appkey</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="appkey" id="appkey" maxlength="30" placeholder="请填写收银宝appkey"
                           class="layui-input" lay-verify="required"
                           value="#(channelConfig!=null?channelConfig.appkey:null)" required
                           autocomplete="off"/>
                </div>

            </div>

           

            <div class="layui-form-item"
                 style="border-top:1px solid #ddd;padding-top:15px;text-align:center;width:100%;">
                <button class="layui-btn" lay-filter="add" lay-submit>提交</button>
            </div>

        </div>
    </div>
    <!--    ----------填写基本信息end--------------------  -->

</form>
#end
